package moc.tds;

import java.util.ArrayList;

import moc.type.DTYPE;
import moc.type.SIGNATURE;

public class INFOMETHODE {
	
	private int dep ;
	private SIGNATURE sig ;
	private DTYPE returnType ;
	private boolean isStatic ;
	
	public INFOMETHODE(int dep, SIGNATURE sig, DTYPE returnType,boolean isStatic) {
		
		this.dep = dep;
		this.sig = sig;
		this.returnType = returnType;
		this.isStatic = isStatic ;
	}
	public int getDep() {
		return dep;
	}
	public void setDep(int dep) {
		this.dep = dep;
	}
	public SIGNATURE getSig() {
		return sig;
	}
	public void setSig(SIGNATURE sig) {
		this.sig = sig;
	}
	public DTYPE getReturnType() {
		return returnType;
	}
	public void setReturnType(DTYPE returnType) {
		this.returnType = returnType;
	}
	public boolean isStatic() {
		return isStatic;
	}
	public void setStatic(boolean isStatic) {
		this.isStatic = isStatic;
	}
	public boolean conformsTo(ArrayList<DTYPE> att_sigmet) {
		// TODO Auto-generated method stub
		return this.sig.signatureConfomes(att_sigmet);
	}
	
	
	

}
